package com.project.managementpaltform.controller;

import lombok.extern.slf4j.Slf4j;

import java.util.List;

import com.project.managementpaltform.entity.Equipment;
import com.project.managementpaltform.service.EquipmentService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class EquipmentController {

    @Autowired
    EquipmentService equipmentService;

    /**
     * 查找年度设备档案
     * */
    @RequestMapping(value = "/queryWholeEquipment",produces ="application/json",method=RequestMethod.POST)
    public List<Equipment> queryWholeEquipment(){
        List<Equipment> result = equipmentService.findWholeEquipment();
        return result;
    }

     @RequestMapping(value="/queryVerificationExcel",produces ="application/json",method=RequestMethod.POST)
     public Equipment queryVerificationExcel(){
         return null;
     }

     
     

}
